3.4 \(\int -2 \, dx\)

Optimal. Leaf size=3 \[ -2 x \]

[Out]

-2*x

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 3, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 1.000, Rules used = {8} \[ -2 x \]

Antiderivative was successfully verified.

[In]

Int[-2,x]

[Out]

-2*x

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rubi steps

\begin {align*} \int -2 \, dx &=-2 x\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 3, normalized size = 1.00 \[ -2 x \]

Antiderivative was successfully verified.

[In]

Integrate[-2,x]

[Out]

-2*x

________________________________________________________________________________________

fricas [A]  time = 0.35, size = 3, normalized size = 1.00 \[ -2 x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-2,x, algorithm="fricas")

[Out]

-2*x

________________________________________________________________________________________

giac [A]  time = 1.11, size = 3, normalized size = 1.00 \[ -2 \, x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-2,x, algorithm="giac")

[Out]

-2*x

________________________________________________________________________________________

maple [A]  time = 0.00, size = 4, normalized size = 1.33 \[ -2 x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-2,x)

[Out]

-2*x

________________________________________________________________________________________

maxima [A]  time = 0.42, size = 3, normalized size = 1.00 \[ -2 \, x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-2,x, algorithm="maxima")

[Out]

-2*x

________________________________________________________________________________________

mupad [B]  time = 0.00, size = 3, normalized size = 1.00 \[ -2\,x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-2,x)

[Out]

-2*x

________________________________________________________________________________________

sympy [A]  time = 0.02, size = 3, normalized size = 1.00 \[ - 2 x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-2,x)

[Out]

-2*x

________________________________________________________________________________________